package com.summer.data.dialect.oracle;

/**
 * @author 345480567@qq.com
 */
public class OracleDialect_12c extends OracleDialect {

    // OFFSET 1 ROWS FETCH NEXT 1 ROWS ONLY;
    public String getPageSql(String string, Integer offset, Integer pageSize) {
        String pageSql = String.format("%s OFFSET %d ROWS FETCH NEXT %d ROWS ONLY ", string, offset, pageSize);
        return pageSql;
    }

}
